﻿<Selection:jSLGrid x:Class="jSLCore.Client.Presentation.Authorization.Managment.PermissionGrid"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Selection="clr-namespace:jSLCore.Client.Presentation.BaseControl.Selection" xmlns:Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" xmlns:BaseControl="clr-namespace:jSLCore.Client.Presentation.BaseControl" xmlns:jBinding="clr-namespace:jSLCore.Client.Presentation.jBinding" mc:Ignorable="d"                   
    d:DesignHeight="300" d:DesignWidth="400">    
    <Selection:jSLGrid.Columns>
        <Controls:DataGridTextColumn Header="Номер" Binding="{Binding Permission}" IsReadOnly="True"/>
        <Controls:DataGridTemplateColumn Header="Название">
            <Controls:DataGridTemplateColumn.CellTemplate>
                <DataTemplate>
                    <TextBlock>
                        <BaseControl:BaseControl.jBinding>
                            <jBinding:jReadOnlyBinding Path="Name"/>
                        </BaseControl:BaseControl.jBinding>
                    </TextBlock>
                </DataTemplate>
            </Controls:DataGridTemplateColumn.CellTemplate>
        </Controls:DataGridTemplateColumn>
    </Selection:jSLGrid.Columns>
</Selection:jSLGrid>
